package link.anyauto.fsmgr.biz.settings;

import android.text.TextWatcher;

import link.anyauto.fsmgr.handy.TextWatcherAdapter;

/**
 * Created by Administrator on 2016/7/17.
 */
public class SettingsHandlers {

    public TextWatcher srv = new TextWatcherAdapter(){
        @Override
        public void onTextChanged(CharSequence s, int start, int before, int count) {
            vm.setSrv(s.toString());
        }
    };

    public TextWatcher port = new TextWatcherAdapter(){
        @Override
        public void onTextChanged(CharSequence s, int start, int before, int count) {
            vm.setPort(s.toString());
        }
    };

    SettingsVM vm;
}
